Optimal. Leaf size=72 \[ -\frac{\log \left (\sqrt [3]{b} x-\sqrt [3]{a+b x^3}\right )}{2 b^{2/3}}-\frac{\tan ^{-1}\left (\frac{\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1}{\sqrt{3}}\right )}{\sqrt{3} b^{2/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0530405, antiderivative size = 122, normalized size of antiderivative = 1.69, number of steps used = 7, number of rules used = 7, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.538, Rules used = {331, 292, 31, 634, 617, 204, 628} \[ -\frac{\log \left (1-\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{3 b^{2/3}}+\frac{\log \left (\frac{b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1\right )}{6 b^{2/3}}-\frac{\tan ^{-1}\left (\frac{\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1}{\sqrt{3}}\right )}{\sqrt{3} b^{2/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 331
Rule 292
Rule 31
Rule 634
Rule 617
Rule 204
Rule 628
Rubi steps
\begin{align*} \int \frac{x}{\left (a+b x^3\right )^{2/3}} \, dx &=\operatorname{Subst}\left (\int \frac{x}{1-b x^3} \, dx,x,\frac{x}{\sqrt [3]{a+b x^3}}\right )\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{1-\sqrt [3]{b} x} \, dx,x,\frac{x}{\sqrt [3]{a+b x^3}}\right )}{3 \sqrt [3]{b}}-\frac{\operatorname{Subst}\left (\int \frac{1-\sqrt [3]{b} x}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac{x}{\sqrt [3]{a+b x^3}}\right )}{3 \sqrt [3]{b}}\\ &=-\frac{\log \left (1-\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{3 b^{2/3}}+\frac{\operatorname{Subst}\left (\int \frac{\sqrt [3]{b}+2 b^{2/3} x}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac{x}{\sqrt [3]{a+b x^3}}\right )}{6 b^{2/3}}-\frac{\operatorname{Subst}\left (\int \frac{1}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac{x}{\sqrt [3]{a+b x^3}}\right )}{2 \sqrt [3]{b}}\\ &=-\frac{\log \left (1-\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{3 b^{2/3}}+\frac{\log \left (1+\frac{b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{6 b^{2/3}}+\frac{\operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1+\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{b^{2/3}}\\ &=-\frac{\tan ^{-1}\left (\frac{1+\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}}{\sqrt{3}}\right )}{\sqrt{3} b^{2/3}}-\frac{\log \left (1-\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{3 b^{2/3}}+\frac{\log \left (1+\frac{b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac{\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{6 b^{2/3}}\\ \end{align*}
Mathematica [C] time = 0.0059854, size = 40, normalized size = 0.56 \[ \frac{x^2 \, _2F_1\left (\frac{2}{3},1;\frac{5}{3};\frac{b x^3}{b x^3+a}\right )}{2 \left (a+b x^3\right )^{2/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.023, size = 0, normalized size = 0. \begin{align*} \int{x \left ( b{x}^{3}+a \right ) ^{-{\frac{2}{3}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.53481, size = 433, normalized size = 6.01 \begin{align*} \frac{2 \, \sqrt{3} b \sqrt{-\left (-b^{2}\right )^{\frac{1}{3}}} \arctan \left (-\frac{{\left (\sqrt{3} \left (-b^{2}\right )^{\frac{1}{3}} b x - 2 \, \sqrt{3}{\left (b x^{3} + a\right )}^{\frac{1}{3}} \left (-b^{2}\right )^{\frac{2}{3}}\right )} \sqrt{-\left (-b^{2}\right )^{\frac{1}{3}}}}{3 \, b^{2} x}\right ) - 2 \, \left (-b^{2}\right )^{\frac{2}{3}} \log \left (-\frac{\left (-b^{2}\right )^{\frac{2}{3}} x -{\left (b x^{3} + a\right )}^{\frac{1}{3}} b}{x}\right ) + \left (-b^{2}\right )^{\frac{2}{3}} \log \left (-\frac{\left (-b^{2}\right )^{\frac{1}{3}} b x^{2} -{\left (b x^{3} + a\right )}^{\frac{1}{3}} \left (-b^{2}\right )^{\frac{2}{3}} x -{\left (b x^{3} + a\right )}^{\frac{2}{3}} b}{x^{2}}\right )}{6 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 1.38554, size = 37, normalized size = 0.51 \begin{align*} \frac{x^{2} \Gamma \left (\frac{2}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{2}{3}, \frac{2}{3} \\ \frac{5}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac{2}{3}} \Gamma \left (\frac{5}{3}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{{\left (b x^{3} + a\right )}^{\frac{2}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]